package com.fly.studio.home.app.component;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;

/**
 * @author fuliying3
 * @date 2022/08/31 21:06:00
 */
@Setter
@Getter
@ToString
public class BaseRequest {
    @ApiModelProperty(value = "pin")
    private String pin;
    @ApiModelProperty(value = "纬度")
    private Double latitude;
    @ApiModelProperty(value = "经度")
    private Double longitude;
    @ApiModelProperty(value = "频道")
    @NotNull(message = "请选择频道")
    private Integer channel;
    @ApiModelProperty(value = "IP")
    @NotNull(message = "IP为空")
    private String ip;
}
